package nc.ift.bf.jx;

import nc.bs.trade.business.HYPubBO;
import nc.itf.bf.jx.ISubjectQuery;
import nc.vo.bf.jx.calculator.ISubjectConVO;
import nc.vo.bf.jx.subjectrule.SubjectruleVO;
import nc.vo.pub.BusinessException;

public class ISubjectQueryImpl implements ISubjectQuery {
	private HYPubBO hBO;

	public HYPubBO getHBO() {
		if (hBO == null) {
			hBO = new HYPubBO();
		}
		return hBO;
	}


	public SubjectruleVO[] getAllSubjectrule() throws BusinessException {
		SubjectruleVO[] sVo=(SubjectruleVO[]) getHBO().queryAll(SubjectruleVO.class);
		return sVo;
	}

	public SubjectruleVO getSubjectrule(ISubjectConVO vo) {
		// TODO Auto-generated method stub
		return null;
	}

}
